package com.info.zhiduoduo.repository.dto.crowdsource;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class CrowdsourceProjectMatchDto {

	private int id;
	@ApiModelProperty("企业id")
	private int compid;
	@ApiModelProperty("企业名称")
	private String compname;
	@ApiModelProperty("项目id")
	private int projectid;
	@ApiModelProperty("项目名")
	private String projectName;
	@ApiModelProperty("项目总金额")
	private BigDecimal projectTotalAmount;
	@ApiModelProperty("项目总服务费")
	private BigDecimal projectTotalServiceCharge;
	@ApiModelProperty("总参与人数")
	private Integer peopleCount;
	@ApiModelProperty("撮合方企业id")
	private int matchCompid;
	@ApiModelProperty("撮合方企业名称")
	private String matchCompname;
	@ApiModelProperty("撮合方项目id")
	private int matchProjectid;
	@ApiModelProperty("撮合方项目名称")
	private String matchProjectName;
	@ApiModelProperty("撮合方项目总金额")
	private BigDecimal matchProjectTotalAmount;
	@ApiModelProperty("撮合方项目总服务费")
	private BigDecimal matchProjectTotalServiceCharge;
	@ApiModelProperty("撮合方项目总参与人数")
	private int matchPeopleCount;

	@ApiModelProperty("项目状态 1：新建 2：待付款 3：部分付款成功 4：全部付款完成 5：全部付款完成（超量）98:项目失败，联系客服 99：已废弃")
	private int projectState;
	@ApiModelProperty("撮合状态 1:已创建 2:已撮合")
	private int state;
	private Date createtime;
	private Date matchTime;
}
